Using Image Editing Tools in Dreamweaver MX 2004
Table of Contents
Editing Images in Dreamweaver MX 2004
The following image-editing features are available in Dreamweaver MX 2004:
Cropping reduces the area of the image. For example, you may want to eliminate unnecessary parts of the image to focus on the main subject matter.
Image resampling adds or subtracts pixels from resized JPEG and GIF image files to match the appearance of the original image as closely as possible. Resampling an image reduces an image’s file size, resulting in improved download performance.
Brightness/Contrast modifies the contrast or brightness of pixels in an image. This affects the highlights, shadows, and midtones of an image. You typically use Brightness/Contrast when correcting images that are too dark or too light.
Sharpening adjusts the focus of an image by increasing the contrast of edges found within the image. When you scan an image or take a digital photo, the default action of most image capturing software softens the edges of objects in the image. This prevents extremely fine details from becoming lost in the pixels from which digital images are composed. However, to bring out the details in digital image files, it is often necessary to sharpen the image, thereby increasing edge contrast to make the image appear sharper.
Note: Dreamweaver image-editing features apply only to JPEG and GIF image file formats. You cannot edit other bitmap image file formats using these image-editing features.
In this tutorial, you will use the Dreamweaver image-editing features to modify an existing image on a web page.
-
Open the tours.htm file from the tutorial files. Scroll to the second graphic on the page. The image of the bike rider is too large. Resize the image, crop it, and change the brightness of the image.
Figure 1. The original image
-
Select the second image, hold down the Shift key and drag the bottom right corner handle to make the image smaller. Holding down Shift as you resize the image maintains the image proportions. Notice that the Property inspector displays bold numbers for the width and the height of the image and adds a reset button, indicating that you have resized the image. You can click Reset to return the image to its original size. Notice the file size as well at the top left of the Property inspector. The image is visually smaller, but the file size has not changed. You’ll fix that in the next step.
Figure 2. The Property inspector showing the new image size
-
With the image still selected, click Resample on the Property inspector. Dreamweaver resamples the image, deleting pixels, but matching the original image as closely as possible. The file size will decrease.
Figure 3. The Property inspector with the image editing features illustrated
Note: You may get an alert dialog box informing you that you are about to permanently modify the image. If the image is the only copy you have, you may want to copy it to another file before you resize it.
Figure 4. The alert dialog box informing you that you are about to permanently modify an image
-
Select the image and click Crop on the Property inspector. Crop handles appear on the image. Drag any of the crop handles to change the crop size. Drag your mouse to the middle of the crop area to reposition the crop area within the image. Press Return (Macintosh) or Enter (Windows) to crop the image.
Figure 5. The image crop feature
-
Select the image and then click Brighten and Contrast on the Property inspector. Drag the Brightness and Contrast sliders to your liking and then click OK.
Note: Check the Preview checkbox to see your changes as you drag the sliders.
Figure 6. The image Brightness/Contrast dialog box
-
Select the image and then click Sharpen on the Property inspector. Drag the Sharpness slider to increase the sharpness of the image. Be careful not to over sharpen the image.
Note: The image in this tutorial may not need sharpening. You can always remove your changes by selecting Edit > Undo.
Figure 7. The image Sharpen dialog box